Skip to content

build(deps): bump the minor-gomod-dependencies group with 2 updates - #3998

Merged
JoannaaKL merged 6 commits into
mainfrom
dependabot/go_modules/minor-gomod-dependencies-b72419069c
Dec 1, 2026
Merged

JoannaaKL merged 6 commits into
mainfrom
dependabot/go_modules/minor-gomod-dependencies-b72419069c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the minor-gomod-dependencies group with 2 updates: github.com/modelcontextprotocol/go-sdk and golang.org/x/net.

Updates github.com/modelcontextprotocol/go-sdk from 1.8.0 to 1.9.0

Release notes

Sourced from github.com/modelcontextprotocol/go-sdk's releases.

v1.9.0

This release is equivalent to v1.9.0-pre.1. Thank you to those who tested the pre-release.

In this release we introduce fixes, hardening, and small API additions on top of v1.8.0. It adds no new protocol revision: 2026-07-28 remains the newest version the SDK negotiates.

Most changes tighten spec compliance (standard JSON-RPC error codes, exact JSON number decoding without float64 rounding, SEP-2243 HTTP headers, MRTR, and OAuth/OIDC validation), bound peer-controlled inputs, and add hooks for stream keep-alives, per-session notifications, and middleware.

Eight new MCPGODEBUG flags let you revert individual behavior changes, and seven flags from v1.7.0 are removed as scheduled; see below.

Hardening

HTTP clients no longer follow cross-origin or method-changing redirects unless the http.Client sets its own CheckRedirect (StreamableClientTransport, SSEClientTransport, and OAuth requests). The stdio frame cap now holds across arbitrary read boundaries, CommandTransport gains MaxLineLength, StreamableClientTransport applies DefaultMaxEventSize when unset, and ParseWWWAuthenticate runs in linear time. On the client, the prompts/list, resources/list, resources/templates/list, and resources/read caches are capped at 512 entries each and no longer retain results with ttlMs <= 0.

Streams, per-session notifications, and middleware APIs

StreamableHTTPOptions.StreamKeepAlive sends periodic SSE comments on idle POST response streams (30s by default; negative disables) so proxies do not drop subscriptions/listen or slow calls. ServerSession.NotifyToolListChanged, NotifyPromptListChanged, NotifyResourceListChanged, and NotifyResourceUpdated notify a single 2026-07-28 session's open subscriptions/listen streams. StreamableHTTPOptions.OnRequestSummary, HasParams, and Request.GetID (ClientRequest.ID / ServerRequest.ID) expose request metadata to middleware and observability hooks. ClientSession.Discover, ParseURLElicitationRequiredError, and Annotations.SetPriority / HasPriority (to serialize an explicit 0 priority).

Behavior changes guarded by MCPGODEBUG

The new flags below revert the corresponding change (except demotesessionlifecyclelog, which is opt-in). All will be removed in v1.11.0; see docs/mcpgodebug.md for details.

  • structuredcontentfloat64=1 — decode numbers in CallToolResult.StructuredContent as float64 instead of json.Number (#1239).
  • disablepromptargsvalidation=1 — call the prompt handler even when a required argument is missing instead of returning -32602 (#1297).
  • allowmissingclientparams=1 — accept elicitation/create, notifications/elicitation/complete, and notifications/resources/updated with missing or null params (#1315).
  • nopreinitinvalidrequest=1 — refuse pre-initialize requests on legacy sessions with code 0 instead of -32600 (#1393).

... (truncated)

Commits
  • a6e937f mcp: remove deprecated mcpgodebug variables (#1533)
  • ed66761 mcp: ignore the session ID on server/discover responses (#1523)
  • f424fff mcp: cap the client caches and stop retaining uncacheable results (#1527)
  • 0caa6e4 mcp: add ServerSession.NotifyResourceUpdated (#1524)
  • 0fa5e84 mcp: reject unencoded non-ASCII characters in Mcp-Param headers (#1521)
  • 328036e mcp: allow nil params for ListRoots inputRequests (#1517)
  • 1c41d45 mcp: restrict x-mcp-header annotations to properties reachable via properties...
  • 0e849cb mcp: add per session list changed notifications (#1511)
  • df0f295 mcp: make the ioConn frame cap independent of read boundaries (#1510)
  • e66275d auth: include error="invalid_token" in 401 challenges (#1507)
  • Additional commits viewable in compare view

Updates golang.org/x/net from 0.61.0 to 0.63.0

Commits
  • e573c11 go.mod: update golang.org/x dependencies
  • e44ac12 http2: fix a few issues revealed by the net/http unified pool
  • 3de643d html: check all ancestor namespace transitions when rendering raw text
  • 05c76ee ipv4, ipv6: avoid slice bounds panics on empty batch or BPF filter
  • dad306f ipv6: avoid out-of-bounds panic in ICMPFilter
  • 9c0565a ipv4: fix TTL control message parsing on big-endian Linux and Solaris
  • 9425eb3 internal/socket, ipv4, ipv6: avoid panic on empty control message on non-Unix
  • 4b10404 ipv4, ipv6: avoid nil parse function call in ControlMessage.Parse
  • afcf8cd ipv4: fix several missing bounds checks
  • 4af4fce html: avoid quadratic complexity when coalescing text nodes
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the minor-gomod-dependencies group with 2 updates: [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) and [golang.org/x/net](https://github.com/golang/net).


Updates `github.com/modelcontextprotocol/go-sdk` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](modelcontextprotocol/go-sdk@v1.8.0...v1.9.0)

Updates `golang.org/x/net` from 0.61.0 to 0.63.0
- [Commits](golang/net@v0.61.0...v0.63.0)

---
updated-dependencies:
- dependency-name: github.com/modelcontextprotocol/go-sdk
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-gomod-dependencies
- dependency-name: golang.org/x/net
  dependency-version: 0.63.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-gomod-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner December 1, 2026 11:12
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 1, 2026
Copilot AI adaptive review requested due to automatic review settings December 1, 2026 11:12
@dependabot dependabot Bot added the go Pull requests that update go code label Dec 1, 2026
Auto-generated by license-check workflow

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The generated license reports and any related third-party output remain stale after the module-graph change, causing the license check to fail until they are regenerated and committed.

1 open issue
What changed in this PR

Updates the Go dependency set to newer minor releases of the MCP SDK and networking libraries, along with related transitive dependencies and checksums.

Changes:

  • Upgrades github.com/modelcontextprotocol/go-sdk from v1.8.0 to v1.9.0.
  • Upgrades golang.org/x/net from v0.61.0 to v0.63.0.
  • Refreshes related indirect dependencies and module checksums.
File Description
go.sum Refreshes checksums for the upgraded MCP SDK, networking library, and related transitive dependencies.
go.mod Updates the direct and indirect Go module versions for the dependency upgrades.

Review effort: Lite (adaptive)

Comment thread go.mod Resolved
JoannaaKL
JoannaaKL previously approved these changes Dec 1, 2026
Auto-generated by license-check workflow
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The SDK update affects protocol serialization, structured-content decoding, HTTP headers, redirects, and resource handling across multiple paths, so the identified test incompatibility and broader interoperability risks require full cross-platform CI and end-to-end validation.

No open issues 🎉

1 resolved since last review

Review effort: Lite (adaptive)

@JoannaaKL
JoannaaKL merged commit be379ae into main Dec 1, 2026
23 checks passed
@JoannaaKL
JoannaaKL deleted the dependabot/go_modules/minor-gomod-dependencies-b72419069c branch December 1, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants